package com.wang.lotterysystem.dao.dataobject;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.Date;

/**
 * 中奖记录DO
 */
@Data
public class WinningRecordDO extends BaseDO{
    @Schema(description = "活动id")
    private Long activityId;

    @Schema(description = "活动名称")
    private String activityName;

    @Schema(description = "奖品id")
    private Long prizeId;

    @Schema(description = "奖品名称")
    private String prizeName;

    @Schema(description = "奖品等级")
    private String prizeTier;

    @Schema(description = "中奖者id")
    private Long winnerId;

    @Schema(description = "中奖者名称")
    private String winnerName;

    @Schema(description = "中奖者邮箱")
    private String winnerEmail;

    @Schema(description = "中奖者手机号")
    private Encrypt winnerPhoneNumber;

    @Schema(description = "中奖时间")
    private Date winningTime;
}